Add std patch Test: run external_updater and verify that the patch is applied Change-Id: Ia3f6420936423dda6f092e99e7e3d3bfafffac2e
diff --git a/patches/std.diff b/patches/std.diff new file mode 100644 index 0000000..4ed51cb --- /dev/null +++ b/patches/std.diff
@@ -0,0 +1,13 @@ +diff --git a/src/lib.rs b/src/lib.rs +index f2f2962..83f3a22 100644 +--- a/src/lib.rs ++++ b/src/lib.rs +@@ -55,7 +55,7 @@ + + #![no_std] + +-#[cfg(test)] ++// ANDROID: Always import std to enable building as a dylib + #[macro_use] + extern crate std; +